package com.yd.domain.business;

/**
 * @author zy
 * @create 2018-03-07 9:30
 * @desc 我的优惠券
 **/
public class UserCoupon {
    private String userId;//用户id
    private String couponId;//优惠券id
    private int number;//数量
    private Coupon coupon;//优惠券

    public Coupon getCoupon() {
        return coupon;
    }

    public void setCoupon(Coupon coupon) {
        this.coupon = coupon;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "BusinessUserCoupon{" +
                "userId='" + userId + '\'' +
                ", couponId='" + couponId + '\'' +
                ", number=" + number +
                '}';
    }
}
